//
//  PositionInquiryController.m
//  ZhiLianZhaoPin
//
//  Created by 可 孙 on 12-12-28.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "PositionInquiryController.h"

@implementation PositionInquiryController

- (void)didReceiveMemoryWarning
{
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    
    // Release any cached data, images, etc that aren't in use.
}

#pragma mark - View lifecycle

/*
// Implement loadView to create a view hierarchy programmatically, without using a nib.
- (void)loadView
{
}
*/

// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad
{
    [super viewDidLoad];
    
    
    
    
}

-(void)viewWillAppear:(BOOL)animated
{
    //导航栏
    CustomNavigationController * nav=(CustomNavigationController *)self.navigationController;
    //形态
    nav.centerLable.text=@"快速搜索";
    [nav.rightButton setBackgroundImage:[UIImage imageNamed:RIGHTBUTTONIMA] forState:UIControlStateNormal];
    [nav.rightButton setTitle:@"高级搜索" forState:UIControlStateNormal];
    //方法
    
}
-(void)viewWillDisappear:(BOOL)animated
{
    //形态
    //移除方法
}
- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    // Return YES for supported orientations
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end
